package com.sdb.medicalrecord.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

/**
 * 病历对象 td_medicalrecord
 * 
 * @author yyh
 * @date 2025-01-24
 */
public class TdMedicalrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 就诊id */
    private String clinicId;

    /** 病人id */
    private Long patientId;

    /** 就诊卡号 */
    private String cardId;

    /** 病人姓名 */
    private String patientName;

    /** 病人年龄 */
    private String age;

    /** 病人性别 */
    private String patientSex;

    /** 医嘱 */
    private String prescription;

    /** 症状 */
    private String symptoms;

    /** 主要诊断 */
    private String maindiagnosis;

    /** 诊断编码 */
    private String maindiagnosiscode;

    /** 次要诊断 */
    private String otherdiagnosis;

    /** 次要诊断编码 */
    private String otherdiagnosiscode;

    /** 就诊时间 */
    private Date createdate;

    /** 就诊医生 */
    private String docterName;

    public void setClinicId(String clinicId) 
    {
        this.clinicId = clinicId;
    }

    public String getClinicId() 
    {
        return clinicId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setPatientSex(String patientSex) 
    {
        this.patientSex = patientSex;
    }

    public String getPatientSex() 
    {
        return patientSex;
    }
    public void setPrescription(String prescription) 
    {
        this.prescription = prescription;
    }

    public String getPrescription() 
    {
        return prescription;
    }
    public void setSymptoms(String symptoms) 
    {
        this.symptoms = symptoms;
    }

    public String getSymptoms() 
    {
        return symptoms;
    }
    public void setMaindiagnosis(String maindiagnosis) 
    {
        this.maindiagnosis = maindiagnosis;
    }

    public String getMaindiagnosis() 
    {
        return maindiagnosis;
    }
    public void setMaindiagnosiscode(String maindiagnosiscode) 
    {
        this.maindiagnosiscode = maindiagnosiscode;
    }

    public String getMaindiagnosiscode() 
    {
        return maindiagnosiscode;
    }
    public void setOtherdiagnosis(String otherdiagnosis) 
    {
        this.otherdiagnosis = otherdiagnosis;
    }

    public String getOtherdiagnosis() 
    {
        return otherdiagnosis;
    }
    public void setOtherdiagnosiscode(String otherdiagnosiscode) 
    {
        this.otherdiagnosiscode = otherdiagnosiscode;
    }

    public String getOtherdiagnosiscode() 
    {
        return otherdiagnosiscode;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setDocterName(String docterName) 
    {
        this.docterName = docterName;
    }

    public String getDocterName() 
    {
        return docterName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clinicId", getClinicId())
            .append("patientId", getPatientId())
            .append("cardId", getCardId())
            .append("patientName", getPatientName())
            .append("age", getAge())
            .append("patientSex", getPatientSex())
            .append("prescription", getPrescription())
            .append("symptoms", getSymptoms())
            .append("maindiagnosis", getMaindiagnosis())
            .append("maindiagnosiscode", getMaindiagnosiscode())
            .append("otherdiagnosis", getOtherdiagnosis())
            .append("otherdiagnosiscode", getOtherdiagnosiscode())
            .append("createdate", getCreatedate())
            .append("docterName", getDocterName())
            .toString();
    }
}
